package com.worldtolearn.user.bu;

import com.worldtolearn.user.entity.User;

public interface IUserBu {

	public abstract void create(User user);
	public abstract User read(int id);
	public abstract void update(User user);
	public abstract void delete(User user);
	public abstract User getUserByMail(String mail);
	public abstract void connect(String mail, String password);
	public abstract void disconnect();
//	public abstract boolean isValidUser(String mail, String password);
}
